|
ObjectiveLib
1.0.0
|
A function object that tests whether either of two object is true. More...
#import <ObjectiveLib/Functional.h>

Public Member Functions | |
| (BOOL) | - performBinaryFunctionWithArg:andArg: |
| Test whether either of the arguments is true. | |
A function object that tests whether either of two object is true.
Both objects passed must be convertible to boolean values, meaning that they must respond to the message boolValue.
| - (BOOL) performBinaryFunctionWithArg: | (id) | arg1 | |
| andArg: | (id) | arg2 | |
Test whether either of the arguments is true.
The message converts both arguments to boolean values using the message boolValue, then returns YES if either value is true.
boolValue.| arg1 | the first argument |
| arg2 | the second argument |
Reimplemented from <OLBoolBinaryFunction>.
|